package com.xwt.web.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.xwt.web.entity.Authority;

public interface AuthorityRepository extends JpaRepository<Authority, Long>{
	List<Authority> findByUsername(String username);
	int deleteByUsername(String username);

}
